package com.blueocean_health.care.management.domain.dto;

import java.util.Set;

import com.blueocean_health.care.management.common.base.string.StringUtils;

import lombok.Data;

/**
 * 对账单请求实体
 * 
 * @todo
 * @author 张亚林
 * @date 2018年8月20日 上午11:48:28
 */
@Data
public class PayInfoReqDto {

	private Integer page = 1;
	private Integer pageSize = 10;
	private String reqLogNo;
	private String beginTxnTm;//起始交易时间
	private String endTxnTm;
	private String beginSubTm;//起始提交时间
	private String endSubTm;
	private String orderId;
	private String orderType;
	private String minTxnAmt;
	private String maxTxnAmt;
	private String dealUser;//签单人
	private String isLash;//扎帐状态
	private String hospitalId;
	//对账单id
	private String id;
	private Set<String> ids;// 批量操作id
	public String getBeginTxnTm() {
		return StringUtils.isEmpty(beginTxnTm)?null:beginTxnTm+" 00:00:00";
	}
	
	public String getBeginSubTm() {
		return StringUtils.isEmpty(beginSubTm)?null:beginSubTm+" 00:00:00";
	}

	public String getEndTxnTm() {
		return StringUtils.isEmpty(endTxnTm)?null:endTxnTm+" 59:59:59";
	}

	public String getEndSubTm() {
		return StringUtils.isEmpty(endSubTm)?null:endSubTm+" 59:59:59";
	}


}
